﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200040B RID: 1035
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ECHLGCEPDLJ : IMessage<ECHLGCEPDLJ>, IMessage, IEquatable<ECHLGCEPDLJ>, IDeepCloneable<ECHLGCEPDLJ>, IBufferMessage
	{
		// Token: 0x17000D4F RID: 3407
		// (get) Token: 0x06002E73 RID: 11891 RVA: 0x00080504 File Offset: 0x0007E704
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ECHLGCEPDLJ> Parser
		{
			get
			{
				return ECHLGCEPDLJ._parser;
			}
		}

		// Token: 0x17000D50 RID: 3408
		// (get) Token: 0x06002E74 RID: 11892 RVA: 0x0008050B File Offset: 0x0007E70B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ECHLGCEPDLJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D51 RID: 3409
		// (get) Token: 0x06002E75 RID: 11893 RVA: 0x0008051D File Offset: 0x0007E71D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ECHLGCEPDLJ.Descriptor;
			}
		}

		// Token: 0x06002E76 RID: 11894 RVA: 0x00080524 File Offset: 0x0007E724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ECHLGCEPDLJ()
		{
		}

		// Token: 0x06002E77 RID: 11895 RVA: 0x0008052C File Offset: 0x0007E72C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ECHLGCEPDLJ(ECHLGCEPDLJ other) : this()
		{
			this.entityId_ = other.entityId_;
			this.oECNJIOFBHA_ = other.oECNJIOFBHA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002E78 RID: 11896 RVA: 0x0008055D File Offset: 0x0007E75D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ECHLGCEPDLJ Clone()
		{
			return new ECHLGCEPDLJ(this);
		}

		// Token: 0x17000D52 RID: 3410
		// (get) Token: 0x06002E79 RID: 11897 RVA: 0x00080565 File Offset: 0x0007E765
		// (set) Token: 0x06002E7A RID: 11898 RVA: 0x0008056D File Offset: 0x0007E76D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EntityId
		{
			get
			{
				return this.entityId_;
			}
			set
			{
				this.entityId_ = value;
			}
		}

		// Token: 0x17000D53 RID: 3411
		// (get) Token: 0x06002E7B RID: 11899 RVA: 0x00080576 File Offset: 0x0007E776
		// (set) Token: 0x06002E7C RID: 11900 RVA: 0x0008057E File Offset: 0x0007E77E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool OECNJIOFBHA
		{
			get
			{
				return this.oECNJIOFBHA_;
			}
			set
			{
				this.oECNJIOFBHA_ = value;
			}
		}

		// Token: 0x06002E7D RID: 11901 RVA: 0x00080587 File Offset: 0x0007E787
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ECHLGCEPDLJ);
		}

		// Token: 0x06002E7E RID: 11902 RVA: 0x00080595 File Offset: 0x0007E795
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ECHLGCEPDLJ other)
		{
			return other != null && (other == this || (this.EntityId == other.EntityId && this.OECNJIOFBHA == other.OECNJIOFBHA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002E7F RID: 11903 RVA: 0x000805D4 File Offset: 0x0007E7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EntityId != 0U)
			{
				num ^= this.EntityId.GetHashCode();
			}
			if (this.OECNJIOFBHA)
			{
				num ^= this.OECNJIOFBHA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002E80 RID: 11904 RVA: 0x0008062C File Offset: 0x0007E82C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002E81 RID: 11905 RVA: 0x00080634 File Offset: 0x0007E834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002E82 RID: 11906 RVA: 0x00080640 File Offset: 0x0007E840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OECNJIOFBHA)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.OECNJIOFBHA);
			}
			if (this.EntityId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.EntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002E83 RID: 11907 RVA: 0x0008069C File Offset: 0x0007E89C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EntityId);
			}
			if (this.OECNJIOFBHA)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002E84 RID: 11908 RVA: 0x000806E8 File Offset: 0x0007E8E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ECHLGCEPDLJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EntityId != 0U)
			{
				this.EntityId = other.EntityId;
			}
			if (other.OECNJIOFBHA)
			{
				this.OECNJIOFBHA = other.OECNJIOFBHA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002E85 RID: 11909 RVA: 0x00080738 File Offset: 0x0007E938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002E86 RID: 11910 RVA: 0x00080744 File Offset: 0x0007E944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.EntityId = input.ReadUInt32();
					}
				}
				else
				{
					this.OECNJIOFBHA = input.ReadBool();
				}
			}
		}

		// Token: 0x04001254 RID: 4692
		private static readonly MessageParser<ECHLGCEPDLJ> _parser = new MessageParser<ECHLGCEPDLJ>(() => new ECHLGCEPDLJ());

		// Token: 0x04001255 RID: 4693
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001256 RID: 4694
		public const int EntityIdFieldNumber = 10;

		// Token: 0x04001257 RID: 4695
		private uint entityId_;

		// Token: 0x04001258 RID: 4696
		public const int OECNJIOFBHAFieldNumber = 2;

		// Token: 0x04001259 RID: 4697
		private bool oECNJIOFBHA_;
	}
}
